Component({
  properties: {
    show: Boolean,
    goodList: Array
  },
  data: {

  },
  methods: {
    handleCart(event) {
      const item = event.currentTarget.dataset.item
      this.triggerEvent('buy', item)
    }
  }
})
